import { Component } from '@angular/core';
import {AuthService} from './service/auth.service';
import {LoginService} from './service/login.service';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = '招聘系统';
  constructor(
    public authService: AuthService,
    public loginService: LoginService
  ) {}

  logout() {
    this.loginService.logout();
  }
}
